package com.xoa.model.document;

import java.util.Date;

public class Document {
	/**
	 * 自增字段
	 */
    private Integer id;
	/**
	 * 标题
	 */
    private String title;
    /**
	 * 主题词
	 */
    private String keyWord;
    /**
	 * 来文单位/发文单位
	 */
    private String unit;
    /**
	 * 文号
	 */
    private String docNo;
    /**
	 * 紧急程度(0急件1特急2加急)
	 */
    private String urgency;
    /**
	 * 
	 */
    private Integer pages;
    /**
	 * 机密等级(0秘密,1机密,2绝密)
	 */
    private String secrecy;
    /**
	 * 主送
	 */
    private String mainDelivery;
    /**
	 * 抄送
	 */
    private String copyDelivery;
    /**
	 * 创建人
	 */
    private String creater;
    /**
	 * 创建部门
	 */
    private String createDept;
    /**
	 * 印发机关
	 */
    private String printDept;
    /**
	 * 印发日期
	 */
    private String printDate;
    /**
	 * 印发机关
	 */
    private Integer deadline;
    /**
	 * 份数
	 */
    private Integer copies;
    /**
	 * 发文类型(公告、通告、通知...)
	 */
    private String dispatchType;
    /**
	 * 正文
	 */
    private String mainBody;
    /**
	 * 正文名称
	 */
    private String mainBodyName;
    /**
	 * 拟公开属性（0不予公开1依申请公开2主动公开）
	 */
    private String publicFlag;
    /**
	 * 打印份数
	 */
    private Integer printCopies;
    /**
	 * 打印人
	 */
    private String printUser;
    /**
	 * 公文类型(收文，发文，上报...)
	 */
    private String documentType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord == null ? null : keyWord.trim();
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public String getDocNo() {
        return docNo;
    }

    public void setDocNo(String docNo) {
        this.docNo = docNo == null ? null : docNo.trim();
    }

    public String getUrgency() {
        return urgency;
    }

    public void setUrgency(String urgency) {
        this.urgency = urgency == null ? null : urgency.trim();
    }

    public Integer getPages() {
        return pages;
    }

    public void setPages(Integer pages) {
        this.pages = pages;
    }

    public String getSecrecy() {
        return secrecy;
    }

    public void setSecrecy(String secrecy) {
        this.secrecy = secrecy == null ? null : secrecy.trim();
    }

    public String getMainDelivery() {
        return mainDelivery;
    }

    public void setMainDelivery(String mainDelivery) {
        this.mainDelivery = mainDelivery == null ? null : mainDelivery.trim();
    }

    public String getCopyDelivery() {
        return copyDelivery;
    }

    public void setCopyDelivery(String copyDelivery) {
        this.copyDelivery = copyDelivery == null ? null : copyDelivery.trim();
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater == null ? null : creater.trim();
    }

    public String getCreateDept() {
        return createDept;
    }

    public void setCreateDept(String createDept) {
        this.createDept = createDept == null ? null : createDept.trim();
    }

    public String getPrintDept() {
        return printDept;
    }

    public void setPrintDept(String printDept) {
        this.printDept = printDept == null ? null : printDept.trim();
    }

    public String getPrintDate() {
        return printDate;
    }

    public void setPrintDate(String printDate) {
        this.printDate = printDate;
    }

    public Integer getDeadline() {
        return deadline;
    }

    public void setDeadline(Integer deadline) {
        this.deadline = deadline;
    }

    public Integer getCopies() {
        return copies;
    }

    public void setCopies(Integer copies) {
        this.copies = copies;
    }

    public String getDispatchType() {
        return dispatchType;
    }

    public void setDispatchType(String dispatchType) {
        this.dispatchType = dispatchType == null ? null : dispatchType.trim();
    }

    public String getMainBody() {
        return mainBody;
    }

    public void setMainBody(String mainBody) {
        this.mainBody = mainBody == null ? null : mainBody.trim();
    }

    public String getMainBodyName() {
        return mainBodyName;
    }

    public void setMainBodyName(String mainBodyName) {
        this.mainBodyName = mainBodyName == null ? null : mainBodyName.trim();
    }

    public String getPublicFlag() {
        return publicFlag;
    }

    public void setPublicFlag(String publicFlag) {
        this.publicFlag = publicFlag == null ? null : publicFlag.trim();
    }

    public Integer getPrintCopies() {
        return printCopies;
    }

    public void setPrintCopies(Integer printCopies) {
        this.printCopies = printCopies;
    }

    public String getPrintUser() {
        return printUser;
    }

    public void setPrintUser(String printUser) {
        this.printUser = printUser == null ? null : printUser.trim();
    }

    public String getDocumentType() {
        return documentType;
    }

    public void setDocumentType(String documentType) {
        this.documentType = documentType == null ? null : documentType.trim();
    }
}